import { pinyin } from "pinyin-pro";

export function getPinyin(str: string): string[] {
  return pinyin(str, { type: 'array' });
}